package com.sisgh.jefdv1.cmd.command;

import com.sisgh.jefdv1.core.exec.Executor;
import com.sisgh.jefdv1.exception.cmd.InvalidCommandException;
import com.sisgh.jefdv1.exception.cmd.exec.ExecuteCommandException;

public interface Command {

    Executor execute(Executor executor) throws ExecuteCommandException;

    void resolve(String cmd) throws InvalidCommandException;

    boolean matches(String cmd);
}
